﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B57 RID: 2903
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MNMEBDFAJJP : IMessage<MNMEBDFAJJP>, IMessage, IEquatable<MNMEBDFAJJP>, IDeepCloneable<MNMEBDFAJJP>, IBufferMessage
	{
		// Token: 0x170024A6 RID: 9382
		// (get) Token: 0x060081D0 RID: 33232 RVA: 0x0015A86A File Offset: 0x00158A6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MNMEBDFAJJP> Parser
		{
			get
			{
				return MNMEBDFAJJP._parser;
			}
		}

		// Token: 0x170024A7 RID: 9383
		// (get) Token: 0x060081D1 RID: 33233 RVA: 0x0015A871 File Offset: 0x00158A71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MNMEBDFAJJPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170024A8 RID: 9384
		// (get) Token: 0x060081D2 RID: 33234 RVA: 0x0015A883 File Offset: 0x00158A83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MNMEBDFAJJP.Descriptor;
			}
		}

		// Token: 0x060081D3 RID: 33235 RVA: 0x0015A88A File Offset: 0x00158A8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNMEBDFAJJP()
		{
		}

		// Token: 0x060081D4 RID: 33236 RVA: 0x0015A892 File Offset: 0x00158A92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNMEBDFAJJP(MNMEBDFAJJP other) : this()
		{
			if (other.ODIBBOBGFPPCase == MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
			{
				this.IKAJCNAJHFG = other.IKAJCNAJHFG.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060081D5 RID: 33237 RVA: 0x0015A8C6 File Offset: 0x00158AC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNMEBDFAJJP Clone()
		{
			return new MNMEBDFAJJP(this);
		}

		// Token: 0x170024A9 RID: 9385
		// (get) Token: 0x060081D6 RID: 33238 RVA: 0x0015A8CE File Offset: 0x00158ACE
		// (set) Token: 0x060081D7 RID: 33239 RVA: 0x0015A8E7 File Offset: 0x00158AE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNBCDCCANHI IKAJCNAJHFG
		{
			get
			{
				if (this.oDIBBOBGFPPCase_ != MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
				{
					return null;
				}
				return (NNBCDCCANHI)this.oDIBBOBGFPP_;
			}
			set
			{
				this.oDIBBOBGFPP_ = value;
				this.oDIBBOBGFPPCase_ = ((value == null) ? MNMEBDFAJJP.ODIBBOBGFPPOneofCase.None : MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG);
			}
		}

		// Token: 0x170024AA RID: 9386
		// (get) Token: 0x060081D8 RID: 33240 RVA: 0x0015A8FE File Offset: 0x00158AFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNMEBDFAJJP.ODIBBOBGFPPOneofCase ODIBBOBGFPPCase
		{
			get
			{
				return this.oDIBBOBGFPPCase_;
			}
		}

		// Token: 0x060081D9 RID: 33241 RVA: 0x0015A906 File Offset: 0x00158B06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearODIBBOBGFPP()
		{
			this.oDIBBOBGFPPCase_ = MNMEBDFAJJP.ODIBBOBGFPPOneofCase.None;
			this.oDIBBOBGFPP_ = null;
		}

		// Token: 0x060081DA RID: 33242 RVA: 0x0015A916 File Offset: 0x00158B16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MNMEBDFAJJP);
		}

		// Token: 0x060081DB RID: 33243 RVA: 0x0015A924 File Offset: 0x00158B24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MNMEBDFAJJP other)
		{
			return other != null && (other == this || (object.Equals(this.IKAJCNAJHFG, other.IKAJCNAJHFG) && this.ODIBBOBGFPPCase == other.ODIBBOBGFPPCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060081DC RID: 33244 RVA: 0x0015A974 File Offset: 0x00158B74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.oDIBBOBGFPPCase_ == MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
			{
				num ^= this.IKAJCNAJHFG.GetHashCode();
			}
			num ^= (int)this.oDIBBOBGFPPCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060081DD RID: 33245 RVA: 0x0015A9BB File Offset: 0x00158BBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060081DE RID: 33246 RVA: 0x0015A9C3 File Offset: 0x00158BC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060081DF RID: 33247 RVA: 0x0015A9CC File Offset: 0x00158BCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.oDIBBOBGFPPCase_ == MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
			{
				output.WriteRawTag(170, 6);
				output.WriteMessage(this.IKAJCNAJHFG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060081E0 RID: 33248 RVA: 0x0015AA04 File Offset: 0x00158C04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.oDIBBOBGFPPCase_ == MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.IKAJCNAJHFG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060081E1 RID: 33249 RVA: 0x0015AA44 File Offset: 0x00158C44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MNMEBDFAJJP other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ODIBBOBGFPPCase == MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
			{
				if (this.IKAJCNAJHFG == null)
				{
					this.IKAJCNAJHFG = new NNBCDCCANHI();
				}
				this.IKAJCNAJHFG.MergeFrom(other.IKAJCNAJHFG);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060081E2 RID: 33250 RVA: 0x0015AA9A File Offset: 0x00158C9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060081E3 RID: 33251 RVA: 0x0015AAA4 File Offset: 0x00158CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 810U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					NNBCDCCANHI nnbcdccanhi = new NNBCDCCANHI();
					if (this.oDIBBOBGFPPCase_ == MNMEBDFAJJP.ODIBBOBGFPPOneofCase.IKAJCNAJHFG)
					{
						nnbcdccanhi.MergeFrom(this.IKAJCNAJHFG);
					}
					input.ReadMessage(nnbcdccanhi);
					this.IKAJCNAJHFG = nnbcdccanhi;
				}
			}
		}

		// Token: 0x040031CC RID: 12748
		private static readonly MessageParser<MNMEBDFAJJP> _parser = new MessageParser<MNMEBDFAJJP>(() => new MNMEBDFAJJP());

		// Token: 0x040031CD RID: 12749
		private UnknownFieldSet _unknownFields;

		// Token: 0x040031CE RID: 12750
		public const int IKAJCNAJHFGFieldNumber = 101;

		// Token: 0x040031CF RID: 12751
		private object oDIBBOBGFPP_;

		// Token: 0x040031D0 RID: 12752
		private MNMEBDFAJJP.ODIBBOBGFPPOneofCase oDIBBOBGFPPCase_;

		// Token: 0x02001A9A RID: 6810
		public enum ODIBBOBGFPPOneofCase
		{
			// Token: 0x040065D2 RID: 26066
			None,
			// Token: 0x040065D3 RID: 26067
			IKAJCNAJHFG = 101
		}
	}
}
